import IUserCenterUpdatePhoneForm from '@/model/form/userCenter/IUserCenterUpdatePhoneForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 修改手机号
export default function userCenterUpdatePhoneApi(
  form: IUserCenterUpdatePhoneForm
) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IUserCenterUpdatePhoneForm>(
    '/userCenter/updatePhone',
    form
  )
}
